package org.kazuhiko.pokemon3d.entity;

import org.kazuhiko.pokemon3d.utility.Model;

public abstract class ModelEntity extends Drawable
{
	private String modelLocation;
	
	private int displayList;
	
	private Model model;

	public ModelEntity( int id, String name, String modelLocation )
	{
		super( id, name );
		
		this.modelLocation = modelLocation;
		
		displayList = 0;
	}
	
	public void setList( int list )
	{
		displayList = list;
	}
	
	public String getModelLocation()
	{
		return modelLocation;
	}
	
	public int getList()
	{
		return displayList;
	}
	
	public Model getModel()
	{
		return model;
	}
	
	public void setModel( Model model )
	{
		this.model = model;
	}
	
	public abstract void prepare();
}
